#!/bin/sh
#
# define tag for a module
#
# ModuleDefineTag <nFiles> <pdf file> <RweRoot> <Arguments>
#

test x$1 != x1 && echo "Please select only one file for module commands" && exit 1
PdfFile=${2:?"PdfFile missing"}
RweRoot=${3:?"RWE missing"}
shift 3

name=`basename $PdfFile| cut -d. -f1`;
cvs -d "$RweRoot" rtag $* $name;
